package com.black.app.domain.resp.store;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@ApiModel(value = "AppStoreCouponsResp", description = "优惠券信息响应对象" )
@ExcelIgnoreUnannotated
public class AppStoreCouponsResp {

    @ExcelProperty(value = "优惠券ID", index = 0)
    @ApiModelProperty(value = "优惠券ID")
    private Integer couponId;

    @ExcelProperty(value = "优惠券面值", index = 1)
    @ApiModelProperty(value = "优惠券面值")
    private BigDecimal couponValue;

    @ExcelProperty(value = "所需积分", index = 2)
    @ApiModelProperty(value = "所需积分")
    private Integer pointsRequired;

    @ExcelProperty(value = "优惠券名称", index = 3)
    @ApiModelProperty(value = "优惠券名称")
    private String couponName;

    @ExcelProperty(value = "开始时间", index = 4)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private Date beginTime;

    @ExcelProperty(value = "结束时间", index = 5)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;


    @ExcelProperty(value = "兑换卷状态", index = 6)
    @ApiModelProperty(value = "兑换卷状态")
    private String status;
}
